
<?php include_once(dirname(__FILE__) . '/../general/head.php'); ?>

<!-- header -->
<?php include_once(dirname(__FILE__) . '/../general/header.php'); ?>

<?php include_once('left.php'); ?>


<div id="page-wrapper">

    <div class="row">
        <div class="col-lg-12">
            <h1 class="page-header">Thay đổi đợt đánh giá</h1>
        </div>
    </div>
    
    <?php
    if($editResult){
    ?>
    <div class="row">
        <div class="col-lg-12">
            <div class="panel panel-success">
                <div class="panel-heading">
                    <?php echo $editResult; ?>
                </div>
            </div>
        </div>
    </div>
    <?php } ?>

    <div class="panel panel-default">
        <div class="panel-heading">
            Thông tin đợt đánh giá
        </div>
        <div class="panel-body">
            <form method="post" action="<?php echo site_url(get_folder($loggedUser['title']).'/evaluations/edit/'.$evaluation['id']); ?>">
                <input type="hidden" name="Command" value="Edit" />
                <div class="row">
                    <!--Cột trái-->
                    <div class="col-lg-6">
                        <div class="form-group">
                            <label>Tên đợt đánh giá</label>
                            <input type="text" name="name" class="form-control" value="<?php echo $evaluation['name']; ?>" />
                        </div>
                        
                        <div class="form-group">
                            <input class="btn btn-primary" type="submit" value="Lưu thay đổi"> </td></tr>
                        </div>
                    </div>
                </div>
            </form>

        </div>
    </div>
    <br>

</div>
<!-- /#page-wrapper -->


<?php include_once(dirname(__FILE__) . '/../general/footer.php'); ?>